<!DOCTYPE html>
<html>
<head xmlns:th="http://www.thymeleaf.org">
  <meta charset="utf-8">
  <title>登录</title>
  <link rel="stylesheet" type="text/css" href="../../static/css/site.css"/>
  <link rel="stylesheet" type="text/css" href="../../static/css/login.css"/>
  <style>
    body>.left{
      width: 300px;
    }
    body>.left img{
      width: 300px;
    }
  </style>
</head>
<body>
<div class="left">
  <img src="../../static/img/login_bg.jpg" />
</div>
<div class="right">

  <form class="form" method="post" th:action="@{/user/addr/addAddr}" >
    <h2><a class="active" href="login.html" th:href="@{/user/addr/addAddr}">添加地址</a></h2>
    <input type="text" name="contact" placeholder="联系人"/>
    <input type="text" name="phone" placeholder="手机"/>
    <input type="text" name="province" placeholder="省"/>
    <input type="text" name="city" placeholder="市"/>
    <input type="text" name="county" placeholder="县"/>
    <input type="text" name="town" placeholder="镇"/>
    <input type="text" name="detail" placeholder="详细地址"/>
    <div class="error" th:text="${errMsg}"></div>
    <input type="submit" value="添加" />
  </form>

</div>
</body>
</html>
